const TokenKey = 'uni_admin_sunlead_token'
const idKey = 'uni_admin_sunlead_id'

export function getToken() {
  return uni.getStorageSync(TokenKey)
}

export function setToken(token) {
  uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
  uni.removeStorageSync(TokenKey)
}

export function setuserId(id) {
  uni.setStorageSync(idKey, id)
}

export function getuserId() {
  return uni.getStorageSync(idKey)
}

export function removeuserId() {
  uni.removeStorageSync(idKey)
}